package neu.soft.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DistributionOrderMapper {
    /**
     * 生成一条分发单
     * @author zhh
     * @param map
     * @return
     */
    int addDistributionOrder(Map<String,Object> map);

    /**
     * 展示所有的分发单和其对应的货物信息
     * @author zhh
     * @return
     */
    List<Map<String,Object>> showAllDistributionOrder(Map<String,Object> map);

    Long getDistributionRows(Map<String,Object> map);
}
